home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / libs / flilib / flisrc / pttolong.c < prev    next >
Text File  |  1989-11-10  |  152b  |  14 lines

  1.  
  2. long 
  3. i86_ptr_to_long(offset, seg)
  4. unsigned offset, seg;
  5. {
  6. long result;
  7.  
  8. result = seg;
  9. result <<= 4;
  10. result += offset;
  11. return(result);
  12. }
  13.  
  14.